package customerEnter.Frame.redis.MemoryModel;

import org.springframework.stereotype.Repository;

import customerEnter.Frame.redis.Enum.RedisUserModelBeanEnum;
import customerEnter.Frame.redis.Enum.RedisUserModelNameEnum;
import customerEnter.Frame.redis.RedisModelDataStructure.RedisModelData;

/**
 * 用戶的內存模型
 * 
 * 类名称：RedisUserModel 类描述： 创建人：dy 创建时间：2016-10-19 下午2:50:28
 * 
 */
@Repository("redisUserModel")
public class RedisUserModel {
	
	/**
	 * 用戶信息內存模型 id
	 */
	public RedisModelData	UserInfoModel	= new RedisModelData(RedisUserModelNameEnum.UserInfo.getValue(),
													RedisUserModelBeanEnum.UserInfo.getValue());
	/**
	 * 
	 * 用戶喜歡的商品 內存模型 id
	 */
	public RedisModelData	LoveIdInfo		= new RedisModelData(RedisUserModelNameEnum.LoveIdInfo.getValue(),
													RedisUserModelBeanEnum.LoveIdInfo.getValue());
	/**
	 * 用戶點讚的 日誌帖子 id
	 */
	public RedisModelData	releaseIdInfo;
	
	/**
	 * 用戶發佈的二手帖子
	 */
	public RedisModelData	UsedIdInfo		= new RedisModelData(RedisUserModelNameEnum.UsedIdInfo.getValue(),
													RedisUserModelBeanEnum.UsedIdInfo.getValue());
	
	/**
	 * 敗家志點讚的帖子 id
	 */
	public RedisModelData	SentVolunteersIdInfo;

	/**
	 * 用戶點讚的 專輯id
	 */
	public RedisModelData	TheAlbumIdInfo;
	
	/**
	 * 用戶的購物籃
	 */
	public RedisModelData	ShangPinCatInfo	= new RedisModelData(RedisUserModelNameEnum.ShangPinCartInfo.getValue(),
													RedisUserModelBeanEnum.ShangPinCartInfo.getValue());
	
	/**
	 * 用戶訂單信息
	 */
	public RedisModelData	shangPinOrderInfo;
	
	/**
	 * 用戶足跡
	 */
	public RedisModelData	UserFootprintsInfo;
	
	/**
	 * 用戶發的帖子
	 */
	public RedisModelData	userArticleInfo;
	
	/**
	 * 用戶帖子 心動 贊好 等等的 統計
	 */
	public RedisModelData	UserInfoCount	= new RedisModelData(RedisUserModelNameEnum.UserInfoConunt.getValue(),
													RedisUserModelBeanEnum.UserInfoConunt.getValue());
	
	/**
	 * 用戶信息緩存
	 */
	public RedisModelData UserMessageInfo = new RedisModelData(RedisUserModelNameEnum.UserMessageInfo.getValue(),
																RedisUserModelBeanEnum.UserMessageInfo.getValue());
	
	
	/**
	 * 用戶發佈的市集帖子
	 */
	
	public RedisModelData UserFairInfo = new RedisModelData(RedisUserModelNameEnum.UserFairInfo.getValue(),
															 RedisUserModelBeanEnum.UserFairInfo.getValue());
	
	/**
	 * 用戶發表的敗家誌
	 */
	
	public RedisModelData SentVolunteerIdInfo = new RedisModelData(RedisUserModelNameEnum.SentVolunteerIdInfo.getValue(),
																	RedisUserModelBeanEnum.SentVolunteerIdInfo.getValue());
	
	/**
	 * 用戶發表的生活圈
	 */
	
	public RedisModelData SuitableLifeIdInfo = new RedisModelData(RedisUserModelNameEnum.SuitableLifeIdInfo.getValue(),
																	RedisUserModelBeanEnum.SuitableLifeIdInfo.getValue());
	
	/**
	 * 用戶發表的專輯
	 */
	
	public RedisModelData ThealbumIdInfo = new RedisModelData(RedisUserModelNameEnum.ThealbumIdInfo.getValue(),
																RedisUserModelBeanEnum.ThealbumIdInfo.getValue());
	
	/**
	 * 用戶發表的日誌 
	 */
	
	public RedisModelData ReleaseIdInfo = new RedisModelData(RedisUserModelNameEnum.ReleaseIdInfo.getValue(),
																RedisUserModelBeanEnum.ReleaseIdInfo.getValue());
}
